<html>
<head><meta charset="utf-8"><title>Add qualify path assist #6172 · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html">Add qualify path assist #6172</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213330778"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213330778" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213330778">(Oct 14 2020 at 18:11)</a>:</h4>
<p>For <a href="https://github.com/rust-analyzer/rust-analyzer/pull/6172">https://github.com/rust-analyzer/rust-analyzer/pull/6172</a> to be able to qualify trait method calls properly I need access to the trait of the method, all I have now is a <code>ModPath</code> though. And currently resolving that to anything doesn't seem possible/implemented on <code>Semantics</code>. Should there ideally be a <code>resolve_mod_path</code> in semantics that is equivalent to <code>resolve_path</code>? As rebuilding an <code>ast::Path</code> from a <code>ModPath</code> won't work for semantics lookup.</p>



<a name="213330856"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213330856" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213330856">(Oct 14 2020 at 18:12)</a>:</h4>
<p>Hm, I think it should work the other way aroudn</p>



<a name="213330897"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213330897" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213330897">(Oct 14 2020 at 18:12)</a>:</h4>
<p>The thing that gives you <code>ModPath</code> should be adjusted to hand <code>(ModPath, Trait)</code> instead</p>



<a name="213330905"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213330905" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213330905">(Oct 14 2020 at 18:12)</a>:</h4>
<p>How do you get <code>ModPath</code>?</p>



<a name="213331032"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331032" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331032">(Oct 14 2020 at 18:14)</a>:</h4>
<p>It's what ImportAssets gives back currently, ModPath of the trait and it's function name. I guess modifying that to give the trait back together with the path and name would be a solution?</p>



<a name="213331082"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331082" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331082">(Oct 14 2020 at 18:14)</a>:</h4>
<p><a href="https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/utils/import_assets.rs#L30-L33">https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/utils/import_assets.rs#L30-L33</a> This here is what is being returned basically</p>



<a name="213331096"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331096" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331096">(Oct 14 2020 at 18:15)</a>:</h4>
<p>oh wait</p>



<a name="213331108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331108">(Oct 14 2020 at 18:15)</a>:</h4>
<p>hm</p>



<a name="213331117"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331117" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331117">(Oct 14 2020 at 18:15)</a>:</h4>
<p><code>hir::Type</code> should contain the stuff you need</p>



<a name="213331133"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331133" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331133">(Oct 14 2020 at 18:15)</a>:</h4>
<p>ye no that was wrong on my part, thats not whats being returned <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="213331226"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331226" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331226">(Oct 14 2020 at 18:16)</a>:</h4>
<p>ImprotAssets returns a <code>BTreeSet&lt;ModPath&gt;</code></p>



<a name="213331246"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331246" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331246">(Oct 14 2020 at 18:16)</a>:</h4>
<p>That's where the paths come from</p>



<a name="213331281"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331281" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331281">(Oct 14 2020 at 18:16)</a>:</h4>
<p>The type that was there is the type of the method callee</p>



<a name="213331342"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331342" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331342">(Oct 14 2020 at 18:17)</a>:</h4>
<p>Yeah</p>



<a name="213331348"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331348" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331348">(Oct 14 2020 at 18:17)</a>:</h4>
<div class="codehilite"><pre><span></span><code>                let item: hir::ItemInNs = candidate.either(Into::into, Into::into);
                if let Some(prefix_kind) = prefixed {
                    self.module_with_name_to_import.find_use_path_prefixed(db, item, prefix_kind)
                } else {
                    self.module_with_name_to_import.find_use_path(db, item)
                }
</code></pre></div>



<a name="213331388"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331388" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331388">(Oct 14 2020 at 18:17)</a>:</h4>
<p>So this is a bit of code which <em>erases</em> the knowledge about the original item</p>



<a name="213331459"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331459" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331459">(Oct 14 2020 at 18:18)</a>:</h4>
<p>I think we shoudn't forget the item, and carry it together with thr path</p>



<a name="213331791"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213331791" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213331791">(Oct 14 2020 at 18:21)</a>:</h4>
<p>Seems like the best option</p>



<a name="213332476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332476">(Oct 14 2020 at 18:27)</a>:</h4>
<p>hm, the tuple <code>(ModPath, ItemInNs)</code> unfortunately isn't <code>Ord</code> so BTreeSet won't really work. I guess a wrapper struct that delegates the Ord impl just to the ModPath should work?</p>



<a name="213332582"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332582" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332582">(Oct 14 2020 at 18:28)</a>:</h4>
<p>derive(Ord) on <code>ItemInNs</code> should be fine as well</p>



<a name="213332624"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332624" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332624">(Oct 14 2020 at 18:28)</a>:</h4>
<p>Alright</p>



<a name="213332697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332697">(Oct 14 2020 at 18:29)</a>:</h4>
<p>ModuleDefId and MacroDefId aren't Ord either tho</p>



<a name="213332712"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332712" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332712">(Oct 14 2020 at 18:29)</a>:</h4>
<p>and that goes down to all the other IDs as well</p>



<a name="213332717"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332717" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332717">(Oct 14 2020 at 18:29)</a>:</h4>
<p><span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="213332745"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332745" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332745">(Oct 14 2020 at 18:30)</a>:</h4>
<p>or almost all it seems</p>



<a name="213332763"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332763" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332763">(Oct 14 2020 at 18:30)</a>:</h4>
<p>Yeah, it's fine to derive them</p>



<a name="213332806"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332806" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332806">(Oct 14 2020 at 18:30)</a>:</h4>
<p>OTOH, are we really sure that BTreeSet is the right thing here?</p>



<a name="213332823"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332823" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332823">(Oct 14 2020 at 18:30)</a>:</h4>
<p>The sole reason for BTreeSet seems to be sorted iteration I believe?</p>



<a name="213332827"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332827" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332827">(Oct 14 2020 at 18:30)</a>:</h4>
<p>I am not a fan of this data structure usually, as it is allocation-eager</p>



<a name="213332856"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332856" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332856">(Oct 14 2020 at 18:30)</a>:</h4>
<p>perhaps returning a sorted vec would work better?</p>



<a name="213332876"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332876" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332876">(Oct 14 2020 at 18:31)</a>:</h4>
<p>and custom sorting with .sort_by is easy</p>



<a name="213332918"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213332918" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213332918">(Oct 14 2020 at 18:31)</a>:</h4>
<p>That should work</p>



<a name="213333010"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213333010" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213333010">(Oct 14 2020 at 18:32)</a>:</h4>
<p>maybe through in Vec::dedup at the end if uniquness is also required</p>



<a name="213333036"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213333036" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213333036">(Oct 14 2020 at 18:32)</a>:</h4>
<p>/me must confess that sorted vector is their favorite data structure</p>



<a name="213336214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213336214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213336214">(Oct 14 2020 at 18:58)</a>:</h4>
<p>I can agree with that confession :)</p>



<a name="213341908"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Add%20qualify%20path%20assist%20%236172/near/213341908" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Add.20qualify.20path.20assist.20.236172.html#213341908">(Oct 14 2020 at 19:49)</a>:</h4>
<p>Okay, trait methods now work as well.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>